package com.fs.system.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author suke
 * @version 1.0
 * @title SysPasswordProperties
 * @description 登录失败参数配置
 */

@ConfigurationProperties(prefix = "user.password")
@Data
public class SysPasswordProperties {
    /** 密码最大错误次数 */
    private int maxRetryCount;
    /** 密码锁定时间 默认10分钟*/
    private int lockTime = 10;
}